//设置全局性的Ajax带参数cookie
$.ajaxPrefilter(function(options, originalOptions, jqXHR) {
	options.xhrFields = {
		withCredentials: true
	}
});